package com.common.bean;

import java.util.List;

/**
 * Created by STH on 2017/11/14.
 */

public class OrderDetailsBean {

    /**
     * list : [{"id":46,"order_sn":"20171109185706151","create_time":"2017/11/09 18:57:06","status":5,"prince":386.5,"send_time":"2038/01/19 11:14:07","pay_time":"2017/11/10 10:48:53","type":"余额支付","goodsList":[{"id":79,"g_name":"核桃","gid":4,"sid":3,"specifications":"20斤/箱","prince":365,"num":1,"money":365},{"id":80,"g_name":"橙子","gid":3,"sid":2,"specifications":"10个/箱","prince":21.5,"num":1,"money":21.5}]}]
     * user : {"name":"chenlikun\r\nperso","mobile":"18069262981","address":"浙江省杭州市江干区七格路459号"}
     * kefu : http://xmwa1709117.php.hzxmnet.com/Home/Index/linkUs.html
     */

    public UserBean user;
    public String kefu;
    public List<ListBean> list;

    public static class UserBean {
        /**
         * name : chenlikun
         perso
         * mobile : 18069262981
         * address : 浙江省杭州市江干区七格路459号
         */

        public String name;
        public String mobile;
        public String address;
    }

    public static class ListBean {
        /**
         * id : 46
         * order_sn : 20171109185706151
         * create_time : 2017/11/09 18:57:06
         * status : 5
         * prince : 386.5
         * send_time : 2038/01/19 11:14:07
         * pay_time : 2017/11/10 10:48:53
         * type : 余额支付
         * goodsList : [{"id":79,"g_name":"核桃","gid":4,"sid":3,"specifications":"20斤/箱","prince":365,"num":1,"money":365},{"id":80,"g_name":"橙子","gid":3,"sid":2,"specifications":"10个/箱","prince":21.5,"num":1,"money":21.5}]
         */

        public int id;
        public String order_sn;
        public String create_time;
        public int status;
        public double prince;
        public String send_time;
        public String pay_time;
        public String type;
        public List<GoodsListBean> goodsList;

        public static class GoodsListBean {
            /**
             * id : 79
             * g_name : 核桃
             * gid : 4
             * sid : 3
             * specifications : 20斤/箱
             * prince : 365
             * num : 1
             * money : 365
             */

            public int id;
            public String g_name;
            public int gid;
            public int sid;
            public String specifications;
            public double prince;
            public int num;
            public double money;
        }
    }
}
